package com.into.common.csv.converters;

import java.net.URI;

import com.into.common.csv.CSVConverter;

public class URIConverter implements CSVConverter<URI> {

	@Override
	public URI fromString(String value) throws Exception {
		return new URI(value);
	}

	@Override
	public String toString(URI value) throws Exception {
		return value == null ? "" : value.toString();
	}

}
